import java.util.Date;

abstract class Test {
	// int a;
	// int b;
	/*
	 * public Test(){ System.out.println("Default.."); } public Test(int a) {
	 * System.out.println("Non default.."); this.a = a; }
	 */

	abstract void show();
}

public class TestAbstractClass extends Test {

	public void add(String a) {
		System.out.println("String");
	}

	/*
	 * public void add(Integer a){ System.out.println("Integer"); }
	 */
	public void add(Date date) {
		System.out.println("Date");
	}

	/*
	 * public void add(Object obj){ System.out.println("Obj"); }
	 */

	void display() {
		String str1 = "ramesh";
		String str2 = "ramesh";
		System.out.println(str1 == str2);
		// str1.intern();
		System.out.println(str1.equals(str2));
	}

	public static void main(String args[]) {
		TestAbstractClass obj = new TestAbstractClass();
		obj.display();

	}

	@Override
	void show() {
		// TODO Auto-generated method stub

	}
}
